<script>
  import Vue from 'vue'
  import Loading from './loading';
  import AnimateBorder from './animate-border';
  import AnimateRoll from './animate-roll';
  import AnimateHelix from './animate-helix';
  import EchatGen from './echart_gen';

  // Element UI
  import ElementUI from 'element-ui'
  Vue.use(ElementUI);

  // Vue Cookies
  import VueCookies from 'vue-cookies'
  Vue.use(VueCookies);

  Vue.prototype.$echatGen = EchatGen;

  export default {
    install () {
      Vue.component('loading', Loading);
      Vue.component('animate-border', AnimateBorder);
      Vue.component('animate-roll', AnimateRoll);
      Vue.component('animate-helix', AnimateHelix);
    }
  }
</script>
